How to create a filter function with api call and context

join shbcf.ru